--- ./kazam/app.py.orig	2014-08-18 16:48:36.000000000 +0000
+++ ./kazam/app.py	2014-08-30 18:34:24.000000000 +0000
@@ -148,8 +148,6 @@
             if issubclass(type(w), Gtk.Buildable):
                 name = Gtk.Buildable.get_name(w)
                 setattr(self, name, w)
-            else:
-                logger.debug("Unable to get name for '%s'" % w)
 
         # Retrieve gdk_win for the root window
         self.gdk_win = self.window.get_root_window()
@@ -806,7 +804,7 @@
         self.window.hide()
         try:
             if self.record_mode == MODE_AREA and prefs.area:
-                if prefs.dist[0] == 'Ubuntu' and int(prefs.dist[1].split(".")[0]) > 12:
+                if prefs.dist[0] != '' and prefs.dist[1] != '':
                     logger.debug("Showing recording outline.")
                     self.outline_window = OutlineWindow(prefs.area[0],
                                                         prefs.area[1],
@@ -814,12 +812,12 @@
                                                         prefs.area[5])
                     self.outline_window.show()
                 else:
-                    logger.debug("Ubuntu 13.04 or higher not detected, recording outline not shown.")
+                    logger.debug("Recording outline not shown.")
         except:
                 logger.debug("Unable to show recording outline.")
 
     def setup_translations(self):
-        gettext.bindtextdomain("kazam", "/usr/share/locale")
+        gettext.bindtextdomain("kazam", "%%PREFIX%%/share/locale")
         gettext.textdomain("kazam")
         try:
             locale.setlocale(locale.LC_ALL, "")
